import time
from functools import wraps

def decorator(func):
    @wraps(func)
    def wrapper():
        print(time.time())
        func()
    return wrapper

@decorator
def f1():
    """
        this function f1
    """
    print('haha')

f1()
print(f1.__name__)
help(f1)